package com.cc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

//配置类
@Configuration
//扫描包含的类
@ComponentScan("com.cc")
//引入外部文件
@PropertySource("classpath:database.properties")
//引入其他配置类
@Import({JdbcConfig.class, MyBatisConfig.class})
public class SpringConfig {
}
